package com.example.common.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * @author 35326
 */
public class Right implements Serializable {
    private Integer rightId;
    private String rightName;
    private List<Admin> admins;

    public Integer getRightId() {
        return rightId;
    }

    public void setRightId(Integer rightId) {
        this.rightId = rightId;
    }

    public String getRightName() {
        return rightName;
    }

    public void setRightName(String rightName) {
        this.rightName = rightName;
    }

    public List<Admin> getAdmins() {
        return admins;
    }

    public void setAdmins(List<Admin> admins) {
        this.admins = admins;
    }

    @Override
    public String toString() {
        return "Right{" +
                "rightId=" + rightId +
                ", rightName='" + rightName + '\'' +
                ", admins=" + admins +
                '}';
    }
}
